package com.yidu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.dao.SnComInventoryMapper;
import com.yidu.model.SnProDetail;
import com.yidu.service.SnComInventoryService;
/**
 * 商品库存实现类
 * @author chensituo
 * @date 2018年12月3日 下午11:33:23
 */
@Service
public class SnComInventoryServiceImpl implements SnComInventoryService{
	/**
	 * 注入商品库存mapper
	 */
	@Resource
	SnComInventoryMapper comInventoryMapper;

	@Override
	public List<SnProDetail> findAll(Map<String, Object> maps) {
		return comInventoryMapper.findAll(maps);
	}

	@Override
	public int findCount(Map<String, Object> maps) {
		return comInventoryMapper.findCount(maps);
	}
}
